<div class="page_title"><h1 style="display: inline-block">${class.classNum}</h1> &nbsp 总人数：${class.students?size}人</div>
<#if class.students?size != 0>
<table class="table table-border table-bordered table-hover">
    <thead>
    <tr>
        <th>学生学号</th>
        <th>姓名</th>
        <th>学生邮箱(点击发送邮件)</th>
        <th style="width: 20%">操 作</th>
    </tr>
    </thead>
    <tbody>
    <#list class.students as bean>
        <tr>
            <td>${bean.studentNum}</td>
            <td>${bean.studentName}</td>
            <td>
                <#if bean.email??>
                    <a href="mailto:${bean.email}">${bean.email}</a>
                <#else>
                    未填写
                </#if>
            </td>
            <td>
                <input class="btn btn-primary radius" type="button" value="查看上传记录" onclick="selectStudent(${bean.userId}, ${bean.studentNum})">
            </td>
        </tr>
    </#list>
    </tbody>
    <#else>
        <div class="text-c" style="height: 300px;"><h3>无记录.</h3></div>
    </#if>
</table>
<script type="text/javascript">
    var selectStudent = function (id, num) {
        selectView("/adm/uploadProject/?pageNum=1&studentId=" + id, "学生" + num + "上传管理");
    }
</script>